LassoScript Utility
Basics Browse Detail

[ChartFX->SetTextData]

Tag Link [ChartFX->SetTextData] Category ChartFX
Type Member Source Available Yes
Support Preferred Version 8.5
Change New Data Source Any
Output Type None Security None
Implementation Sets Lasso 8.5

Description

[ChartFX->SetTextData] sets the data for a Chart FX chart using a comma or tab-delimited text file. Each row in the text file represents one data point and each column represents a separate series of data. Generally the first column which contains non-numeric values will be used as the label for the data point. The [ChartFX->SetDataType] tag can be used to explicitly set the type for different columns or to ignore certain columns. Consult the Chart FX documentation for full details about how text files are interpreted.

"Label","Series1","Series2"
"Data1","9200","7835"
"Data2","14350","11233"

Syntax

[Var:'MyChart'=ChartFX]
[$MyChart->SetWidth(800)]
[$MyChart->SetHeight(600)]
[$MyChart->SetTemplate('MyChart.cfx')]
[$MyChart->SetTextData('MyChart.txt')]
[$MyChart->Render]

Parameters

Required Parameters
File Path The path to the text file containing data for the chart.

Examples

See the Lasso 8 Language Guide for examples of how to use this tag.